package com.fs.system.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fs.common.core.page.PageDomain;
import com.fs.common.core.pojo.SysUser;

import java.util.List;

public interface ISysUserService {
    int updateUser(SysUser user);
    SysUser selectUserByName(String name);
    int insertUser(SysUser user);
    Page<SysUser> selectUserList(PageDomain pageDomain, SysUser user);

    //根据部门id查询该部门所有普通员工
    List<SysUser > getAllOrdinaryEmployeesByDeptId(int departmentId);
}
